
package com.jf.cloud.supplier.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 工商信息审核记录
 *
 * @author zz
 * @date 2022/9/1 16:16
 */

public class SupplierCompanyAuditingDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 工商信息审核id
     */
    private Long companyAuditingId;
    /**
     * 申请人id
     */
    @Schema(description = "申请人id" )
    private String userId;

    /**
     * 店铺id
     */
    @Schema(description = "供应商id" )
    private Long supplierId;

    /**
     * 工商信息id
     */
    @Schema(description = "工商信息id" )
    private Long supplierCompanyId;

    /**
     * 店铺名称
     */
    @Schema(description = "供应商名称" )
    private String supplierName;

    /**
     * 审核人id
     */
    @Schema(description = "审核人id" )
    private Long auditorId;

    /**
     * 0 未审核 1已通过 -1未通过
     */
    @Schema(description = "0 未审核 1已通过 -1未通过" )
    private Integer status;

    @Schema(description = "申请起始时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @Schema(description = "申请结束时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Schema(description = "备注" )
    private String remarks;

    public Long getCompanyAuditingId() {
        return companyAuditingId;
    }

    public void setCompanyAuditingId(Long companyAuditingId) {
        this.companyAuditingId = companyAuditingId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Long getSupplierCompanyId() {
        return supplierCompanyId;
    }

    public void setSupplierCompanyId(Long supplierCompanyId) {
        this.supplierCompanyId = supplierCompanyId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(Long auditorId) {
        this.auditorId = auditorId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "SupplierCompanyAuditingDTO{" +
                "companyAuditingId=" + companyAuditingId +
                ", userId='" + userId + '\'' +
                ", supplierId=" + supplierId +
                ", supplierCompanyId=" + supplierCompanyId +
                ", supplierName='" + supplierName + '\'' +
                ", auditorId=" + auditorId +
                ", status=" + status +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
